﻿using INTEX.DataBase;
using INTEX.DataBase.Tools;
using ReflectionStudio.Core.Events;
using ReflectionStudio.Core.Helpers;
using System;
using System.Data;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Data;
using WPFExcelReport.Helpers;
namespace WPFExcelReport
{
    public class VYCCVA02 : ViewModelBase
    {
        private bool _IsYCCVA10; public bool IsYCCVA10 { get { return _IsYCCVA10; } set { _IsYCCVA10 = value; OnPropertyChanged("IsYCCVA10", value); } }

        public DelegateCommand QueryCommand { get; set; }
        public DelegateCommand DeleteCommand { get; set; }
        public DelegateCommand SaveCommand { get; set; }
        public DelegateCommand CopyCommand { get; set; }

        public VYCCVA02()
            : base()
        { 
            IsYCCVA10 = true;
            SetEnv = new DataSet();
            SetData = new DataSet();
            SetProd = new DataSet(); 
            QueryCommand = new DelegateCommand(x => Query());
            if (app.User.Trim() == "ITXV")
            {

            }
            else
            {

            }
        }

        public void Query()
        {
            DataSet SResult = new DataSet();

        }
        public override void LoadEnv()
        {
            base.LoadEnv();
            DataSet SResult = new DataSet();
            DataSet SReturn = new DataSet();
            DataRow dwData;

        }
    }
}